package org.bigdata.framework.core.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 答案表
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2019-12-10
 */

@ApiModel(description = "答案实体类")
public class AnswerVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户Id", name = "memberId", required = true, example = "1")
    @NotBlank(message = "不允许为空,请输入")
	private Integer memberId;

	/**
	 * 卷子id
	 */
    @ApiModelProperty(value = "卷子id", name = "paperId", required = true, example = "1")
    @NotBlank(message = "不允许为空,请输入")
	private Integer paperId;

	/**
	 * 题目id
	 */
    @ApiModelProperty(value = "题目id", name = "questionId", required = true, example = "1")
    @NotBlank(message = "不允许为空,请输入")
	private Integer questionId;

	/**
	 * 答案
	 */
    @ApiModelProperty(value = "答案", name = "answer", required = true, example = "A")
    @NotBlank(message = "不允许为空,请输入")
	private String answer;

	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public Integer getPaperId() {
		return paperId;
	}

	public void setPaperId(Integer paperId) {
		this.paperId = paperId;
	}

	public Integer getQuestionId() {
		return questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}
}
